package fr.vvins.core.cms.page.dto;

import java.io.Serializable;
import java.util.Map;

import fr.vvins.core.common.dto.BeanDtoImpl;
import fr.vvins.core.common.dto.BeanDtoInfo;

public class PageDto extends BeanDtoImpl implements Serializable {

	private static final long serialVersionUID = 1L;
	
	private Integer id;
	
	private String name;
	
	private String description;
	
	private LayoutDto layout;

	private BeanDtoInfo content;
	
	private Map<String,BlockDto> blocks;
	

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public BeanDtoInfo getContent() {
		return content;
	}

	public void setContent(BeanDtoInfo content) {
		this.content = content;
	}

	public LayoutDto getLayout() {
		return layout;
	}

	public void setLayout(LayoutDto layout) {
		this.layout = layout;
	}

	public Map<String, BlockDto> getBlocks() {
		return blocks;
	}

	public void setBlocks(Map<String, BlockDto> blocks) {
		this.blocks = blocks;
	}

}
